# coding: utf-8
# author: Wesley

from django.conf.urls import url

from apps.payment.alipay import alipay_handler
from apps.payment.wxpay import wxpay_handler
from apps.payment.mix_pay import mix_pay_handler

urlpatterns = [

    # url(r'^ali/student_buy_product_notify$', alipay_handler.handle_student_buy_product_notify),  # 支付宝扫码回调地址
    # url(r'^ali/teacher_withdraw_notify', alipay_handler.handle_teacher_withdraw_notify_notify),
    url(r'^ali/mobilepaynotify$', alipay_handler.handle_ali_mobile_notify),
    url(r'^wx$', wxpay_handler.dispatch),
    url(r'materials$', mix_pay_handler.materials_payment),  # 衔接教材支付入口
    # url(r'u_proxy_payment$', mix_pay_handler.u_proxy_payment),  # 20年活动入口
    # url(r'bee_payment$', mix_pay_handler.bee_payment),  # 小蜜蜂购买页面支付
    url(r'^wx/(?P<user_type>\w+)/mobilepaynotify$', wxpay_handler.handle_wechat_mobile_notify),  # 微信回调接收地址
    # url(r'^event_pay$', mix_pay_handler.event_payment),  # event wechat pay
    # url(r'^exam_event_pay$', mix_pay_handler.exam_event_payment),  # event wechat pay
    # url(r'^weixin/$', weixinpay_notify.handler.loginReq),
]
